package com.uchengwang.functions.http.userHttp.manager;

/**
 * Created by U城网 on 2017/10/1.
 */

public class UserHttpManager {
    private static UserHttpManager manager;

    public static UserHttpManager getManager() {
        if (manager == null){
            manager = new UserHttpManager();
        }
        return manager;
    }

    /**
     * 获取好友/关注
     * */
    public void getUsers(){
//        IHttpManager.RequestMethod method = null;
//        String url = "";
//        switch (type){
//            case 1://1粉丝  2关注
//                method = UserConfig.UserFans.method;
//                url = UserConfig.UserFans.URL;
//                break;
//            case 2:
//                method = UserConfig.UserFollow.method_check;
//                url = UserConfig.UserFollow.URL;
//                break;
//            case 3://好友
//                method = UserConfig.UserFriends.method;
//                url = UserConfig.UserFriends.URL;
//
//                break;
//        }
//
//        MapRequest map = new MapRequest();
//        if (uid >0){
//            map.put(BaseConfig.CHECK_ID, uid);
//        }
//        map.put(BaseConfig.USER_ROLE, BaseConfig.STUDENT_ROLE);
//        map.put(BaseConfig.PAGE, page);
//        map.put(BaseConfig.PERPAGE, 20);
//        HttpManager.newInstance(this.getActivity()).query(method, url, map, new HttpCallBack() {
//            @Override
//            public void onError(int status, String msg) {
//
//            }
//
//            @Override
//            public void onResp(int status, String msg, String data) {
//
//            }
//        });
//
    }




}
